package com.example.easypoi.service;

import com.example.easypoi.model.Citytable;
import com.example.easypoi.model.ExcelPoi;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

/**
 * @description:
 * @author: 朱超
 * @createDate: 2022/1/20
 * @version: 1.0
 * @remark：备注
 */
public interface ExcelPoiService {

    List<ExcelPoi> ExcelPoiList();

    List<ExcelPoi> ExcelPoiListNumber();

    /**
     * 新增数据
     *
     * @param file 实例对象
     * @return 影响行数
     */


    Map<String,Object> addUser(MultipartFile file) throws Exception;

    Integer insert(List<Citytable> excels) throws Exception;
}
